home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 020 / arcsourc.arc / LOAD.BAT < prev    next >
Encoding:
DOS Batch File  |  1985-11-12  |  1.0 KB  |  33 lines

  1. echo off
  2. :loop
  3. if (%1) == () goto link
  4. echo Loading %1
  5. if not exist %1.mac goto nomac
  6. macro %1 .c -iarc
  7. if errorlevel 1 goto blewit
  8. :nomac
  9. cc1 %1 -hc:\c\
  10. if errorlevel 1 goto blewit
  11. cc2 %1
  12. if errorlevel 1 goto blewit
  13. cc3 %1
  14. if errorlevel 1 goto blewit
  15. cc4 %1
  16. if errorlevel 1 goto blewit
  17. if %1 == arc goto nolibr
  18. if %1 == xarc goto nolibr
  19. marion -u arc %1
  20. :nolibr
  21. shift
  22. goto loop
  23. :link
  24. echo Linking
  25. if exist arc.obj link arc,,,arc+\c\nofloats+\c\cs2s
  26. if exist xarc.obj link xarc,,,arc+\c\nofloats+\c\cs2s
  27. goto exit
  28. :blewit
  29. echo 
  30. echo I blew it, Boss!  I didn't load %1 %2 %3 %4 %5 %6 %7 %8 %9
  31. pause
  32. :exit
  33.